KERNEL_DIR = /lib/modules/$(shell uname -r)/build/
PROJECT_DIR = $(shell pwd)

obj-m := modtest.o
modtest-objs := test_kernel.o

all:
	make -C $(KERNEL_DIR) M=$(PROJECT_DIR) modules
clean:
	make -C $(KERNEL_DIR) M=$(PROJECT_DIR) clean
